import {
	request
} from '../utlis/http.js'
//获取待办日历（日历打点信息）
export const calendar = (params) => {
	return request('v1/workOrder/calendar', params, 'get')
}

//获取指定日期待办列表
export const engineerPending = (params) => {
	return request('v1/workOrder/engineer/pending', params, 'get')
}

//根据登录用户id获取微信授权通知次数
export const getMsgCount = (params) => {
	return request(`v1/auth/msgCount/${params}`, null, 'get')
}
//根据登录用户id设置微信授权通知次数
export const putMsgCount = (params) => {
	return request(`v1/auth/addMsgCount/${params}`, null, 'put')
}